package com.shengyin.ec.service.permission;

import java.util.List;

import com.shengyin.ec.model.entity.Resources;

public interface ResourcesService {

	public void createResources(Resources resources);

	public void deleteResources(Resources resources);

	public void deleteResourcesById(long id);

	public void modifyResources(Resources resources);

	public Resources getResourcesById(long id);

	public List<Resources> getResourcesList();

	public List<Resources> getResourcesList(int start, int end);
	
	public List<Resources> getResourcesListByRole(Long roleId,int start, int end);

	public List<Resources> getResourcesListByKeyword(String keyword, int start,
			int end);
	
	
public void deleteSelectedResources(Long[] ids);
	
	public Long getTotal();
}
